﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOModule
{
    internal class OutputStatus
    {
        public OutputStatus(IOOutputItem iOutputItem)
        {
            outputItem = iOutputItem;
            OutputName = iOutputItem.strName;
            Remark = iOutputItem.strRemark;
            Status = iOutputItem.ON;
        }
        public string OutputName { get; set; }
        [ReadOnly(true)]
        public bool Status { get; set; }
        public string Remark { get; set; }
        IOOutputItem outputItem;
        public void RefreshStatus()
        {
            Status = outputItem.ON;
        }
    }
}
